var Home = {
	Logout: function(){
		location.href = '?page=login&action=Deslogar';
	},

	ativa_menu: function(){
		var pagina = Sofia.getVar('page');
		if(pagina == ''){
			pagina = 'index';
		}
		$("#" + pagina).attr("style", "color: #d7c128; background: #000; padding: 5px 5px 5px 25px; padding: 5px 5px 5px 25px; display: block; margin: 0 0 5px 0; text-decoration: none; font-weight:bold;");
	}
};

Sofia.addEventHandler(window,'load',Home.ativa_menu);